package cn.kshost.zqyg.manager.service;

import cn.kshost.zqyg.model.dto.product.CategoryBrandDto;
import cn.kshost.zqyg.model.entity.product.Brand;
import cn.kshost.zqyg.model.entity.product.CategoryBrand;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface BrandCategoryService {

    PageInfo<CategoryBrand> getBrandCategoryByPage(int pageNum, int pageSize, CategoryBrandDto categoryBrandDto);

    void addBrandCategory(CategoryBrandDto categoryBrandDto);

    void modifyBrandCategory(CategoryBrandDto categoryBrandDto);

    void removeBrandCategory(CategoryBrandDto categoryBrandDto);

    List<Brand> findBrandByCategoryId(int categoryId);
}
